<%@ Page Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeBehind="errorlogs.aspx.cs" Inherits="JTC.MiniCommerce.Web.admin.errorlogs" Title="Untitled Page" %>
<%@ MasterType VirtualPath="~/admin/admin.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="mainContentRegion">
  <div id="admin_centercontent">
    <div class="sectionHeader"><asp:Label ID="lblErrorLogListing" runat="server" /></div><br />
    <asp:Panel ID="pnlCurrentErrorLogs" runat="server">
      <asp:DataGrid ID="dgErrorLogListing" runat="server" AutoGenerateColumns="false" DataKeyField="LogId" OnPageIndexChanged="dgErrorLogListing_Paging" SkinID="adminDataGrid">
        <HeaderStyle CssClass="adminTableHeader" />
        <Columns>
   			  <asp:BoundColumn DataField="LogId" Visible="False" />
			    <asp:HyperLinkColumn DataNavigateUrlField="LogId" DataNavigateUrlFormatString="~/admin/errorlogdetails.aspx?logId={0}" />   			
          <asp:BoundColumn DataField="LogDate" />
          <asp:BoundColumn DataField="LogLevel" />
          <asp:BoundColumn DataField="LogMessage" />
        </Columns>
        <PagerStyle Mode="NumericPages" />
      </asp:DataGrid>
      <br />
      <asp:Button ID="btnDeleteAll" runat="server" CssClass="rightbutton" OnClick="btnDeleteAll_Click" />
    </asp:Panel>
  </div>
</div>
</asp:Content>